import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/css/common.css'

Vue.config.productionTip = false

//引入vant-ui
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

//图片预览
import Viewer from 'v-viewer'
import 'viewerjs/dist/viewer.css'
Vue.use(Viewer)
Viewer.setDefaults({
  // 需要配置的属性 注意属性并没有引号
  title: false,
  toolbar: false,
  navbar: false
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
